home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Multimedia / PlayerPRO 4.5.5 Dev.Kit / Plug-Ins / Music Import⁄Export Plugs / MOD.h < prev    next >
Text File  |  1997-02-05  |  643b  |  41 lines

  1. #if defined(powerc) || defined(__powerc)
  2. #pragma options align=mac68k
  3. #endif
  4.  
  5. #define MAXPTRS 128
  6.  
  7. struct MODCom
  8. {
  9.     Byte    a,b,c,d;
  10. };
  11.  
  12. struct MODPat
  13. {
  14.     struct MODCom Commands[64][4];
  15. };
  16.  
  17. struct FileInstrDataz
  18. {
  19.     char Filename[22];
  20.     unsigned short numWords;
  21.     Byte fineTune;
  22.     Byte volume;
  23.     unsigned short loopWord;
  24.     unsigned short loopWords;
  25. };
  26.  
  27. struct MODDef
  28. {
  29.     char NameSignature[ 20];
  30.     struct FileInstrDataz fid[ 31];
  31.     Byte numPointers;
  32.     Byte maxPointers;
  33.     Byte oPointers[ MAXPTRS];
  34.     long longFmtSignature;
  35.     struct MODPat patterns[];
  36. };
  37. typedef struct MODDef MODDef;
  38.  
  39. #if defined(powerc) || defined(__powerc)
  40. #pragma options align=reset
  41. #endif